package highj;

public class Disk {
	private Disk(String n,int v,int p) {
		Name=n;
		volume=v;
		price=p;
	}
	public void diskwork() {
		System.out.println("diskwork");
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public int getVolume() {
		return volume;
	}
	public void setVolume(int volume) {
		this.volume = volume;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	private String Name;
	private int volume;
	private int price;
	public static Disk Seagate =new Disk("Seagate",1024,500);
	public static Disk WestDigitals=new Disk("WestDigitals",512,300);

}
